<meta charset="utf-8">
<div data-ng-controller="SmallNoManagementController">
	<div style="padding-top: 0px; padding-left: 20px;z-index: 10;width:100%;position:fixed;height: 20px;margin-top: 20px;">
		<font color="#D3D1CC">远程控制</font> > <font color="#333333">小号统计</font>
	</div>
	
	<div class="form-group clearfix col-sm-12">
		
		<div class="col-xs-12" style="top: 50px; float: left;">
			<div style="position: relative; float: left;">
				<div style="float: left; line-height: 25px; position: relative; left: -10px">
					小号名称：<input type="text" placeholder="小号名称" size="35"  data-ng-model="smallNoName" />
				</div>
				
				<div style="float: left; line-height: 25px; position: relative; left: 2px">
					平台名称：<input type="text" placeholder="平台名称" size="35"  data-ng-model="platformName" />
				</div>
				
				<div style="float: left; line-height: 25px; position: relative; left: 10px">
					<input type="button" value="查询" data-ng-click="search()">
				</div>
				
				<!-- <div style="float: left; line-height: 25px; position: relative; left: 10px">
					月份：<input type="text" placeholder="月份" size="35"  data-ng-model="merchantKey" />
				</div> -->
				
			</div>
		</div>
	</div>
	
	<div class="form-group clearfix">
		<div class="form-group clearfix col-sm-12" style="top: 50px;">
			<table class="table table-bordered table-striped table-hover" style="text-align: center;" >
	            <thead>
	                <tr style="background-color: #f9f9f9"> 
	                	<th style="text-align: center; align:center;" >序号</th>
	                    <th style="text-align: center; align:center;" >商户名称</th>
	                    <th style="text-align: center; align:center;" >小号名称</th>
	                    <th style="text-align: center; align:center;" >小号任务量</th>
	                    <th style="text-align: center; align:center;" >所属平台</th>
	                    <th style="text-align: center; align:center;" >创建时间</th>
	                    <!-- <th style="text-align: center; align:center;" >操作 </th> -->
	                </tr>
                </thead>
                <tbody>
	                <tr data-ng-if="data.length > 0" data-ng-repeat="record in data">
	                	<td style="width:5%; cursor: pointer; text-align:center;">{{10*(currentPage-1)+$index+1}}</td>
	                    <td style="width:10%; cursor: pointer; text-align:center;">{{record.merchantName}}</td>
	                    <td style="width:10%; cursor: pointer; text-align:center;">{{record.smallNoName}}</td>
	                    <td style="width:10%; cursor: pointer; text-align:center;color: blue;">{{record.taskCount}}</td>
	                    <td style="width:10%; cursor: pointer; text-align:center;">{{record.platformName}}</td>
	                     <td style="width:10%; cursor: pointer; text-align:center;">{{record.createDate | date:'yyyy-MM-dd HH:mm:ss' }}</td>
	                    <!-- <td style="width:25%; cursor: pointer; text-align:center;">
	                    	<a href="javascript:void(0) " data-ng-click="deleteUser(record.userId)" style="color: red">删除</a>
	                    </td> -->
	                </tr>
                </tbody>
            </table>
        </div>
        
        <div data-ng-if="data.length > 0" class="form-group clearfix col-sm-12" style="padding-left: 0px;padding-right: 16px;padding-top: 25px;" >
				<div class="yahoo2">
				<span> <a style="cursor: pointer;" ng-click="gotoPage(1);">首页</a>
					<a style="cursor: pointer;" ng-click="upPage(currentPage-1);">上一页</a>
					<a style="cursor: pointer;" ng-click="nextPage(currentPage+1);">下一页</a>
					<a style="cursor: pointer;" ng-click="gotoPage(totalPage);">尾页</a>
				</span>
				
				当前第{{currentPage}} 页 共 {{totalPage}}页
			</div>
		</div>
		
	</div>
</div>
